package com.zc.zby.basicframedemo.network;

import com.zc.zby.basicframedemo.model.MovieModel;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * For Retrofit
 * Created by jaycee on 2017/6/23.
 */
public interface RetrofitService {

    @FormUrlEncoded
    @POST("a/login")
    Observable<BaseEntity<MovieModel>> postLogin(@Field("username") String username, @Field("password") String password, @Field("mobileLogin") boolean mobileLogin);
}
